package com.yimi.yinhepda.entity.bean;

/**
 * @author 000432
 * @date 2017/4/11 0011
 */
public class CheckEntity implements Comparable<CheckEntity> {
  /** 子单号 */
  private String childWayBillNo;
  /** 0未扫描，1已扫描 */
  private int status;
  /** 滞留原因 */
  private String retention;

  public CheckEntity() {
  }

  public CheckEntity(String childWayBillNo, int status) {
    this.childWayBillNo = childWayBillNo;
    this.status = status;
  }

  public String getRetention() {
    return retention;
  }

  public void setRetention(String retention) {
    this.retention = retention;
  }

  public String getChildWayBillNo() {
    return childWayBillNo;
  }

  public void setChildWayBillNo(String childWayBillNo) {
    this.childWayBillNo = childWayBillNo;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  @Override public int compareTo(CheckEntity checkEntity) {
    return this.status - checkEntity.getStatus();
  }
}
